package com.example.yunxiappbackend.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class User implements Serializable {
    private static final Long serialVersionUID = 1L;

    private Long id;

    private String username;

    private String password;

    private String gender;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    private Integer status;

    private String icon;

    private String phoneNumber;

    private String nickname; //昵称

}
